package com.devilvan.betrice.aiqicha.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.devilvan.betrice.aiqicha.deserialize.ParseHyphenDeserializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
* @author Evad.Wu
* @Description 爱企查-招/投标信息 值对象
* @date 2022-09-24
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "爱企查-招/投标信息 值对象")
public class AiqichaTenderBiddingVo {
    @Schema(description = "企业系统ID")
    @JSONField(deserialize = false)
    private Long pid;
    @Schema(description = "发布日期")
    @JSONField(alternateNames = {"publishDate"}, deserializeUsing = ParseHyphenDeserializer.class)
    private Date publishDate;
    @Schema(description = "标题")
    @JSONField(alternateNames = {"title"})
    private String title;
    @Schema(description = "地域")
    @JSONField(alternateNames = {"district"})
    private String district;
    @Schema(description = "招标公司")
    @JSONField(alternateNames = {"tender"})
    private List<BiddersVo> tender;
    @Schema(description = "中标公司")
    @JSONField(alternateNames = {"winner"})
    private List<BiddersVo> winner;
}
